package beans;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 生声明用户所有的登录状态
 */
@AllArgsConstructor
@Getter
public enum LoginStatus {
    LOGIN_SUCCESS(100,"登录成功"),
    LOGIN_FAIL(101,"用户名或密码错误"),
    LOGGED_OUT(102,"用户已注销");

    /*规定的状态码*/
    private Integer code;

    /*提示信息*/
    private String msg;
}
